package com.example.shop_2210.database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.base.entity.HistoryEntity

/**
 * 数据库----数据库 需要和实体类以及DAO 绑定到一起
 */
@Database(entities = [HistoryEntity::class], version = 1, exportSchema = false)
abstract class AppDataBase:RoomDatabase() {
    abstract fun getHistoryDao():HistoryDao
}